<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="table-responsive">
    <table class="table table-hover table-lg-content">
        <thead class="bg-fb">
        <tr>
            <th width="15%">用户昵称</th>
            <th width="15%">是否签到</th>
        </tr>
        </thead>
        <tbody>
            <tr th:if="${#lists.isEmpty(dataMap['list'])}">
                <td colspan="10" class="text-center">
                    <div class="noDataTipsBox">
                        <p><span class="c-4e fs16">亲，还没有数据~~~</span></p>
                    </div>
                </td>
            </tr>
            <tr th:if="!${#lists.isEmpty(dataMap['list'])} and ${playType} == 'CC'" th:each="rollcall : ${dataMap['list']}">
                <td th:text="${rollcall['viewerName']}"></td>
                <td>
                    <span th:if="${rollcall['checked']}==0">未签到</span>
                    <span th:if="${rollcall['checked']}==1">签到</span>
                </td>
            </tr>
            <tr th:if="!${#lists.isEmpty(dataMap['list'])} and ${playType} == 'TT'" th:each="rollcall : ${dataMap['list']}">
                <td th:text="${rollcall['nickName']}"></td>
                <td>
                    <span th:if="${rollcall['signInNum']}==0">未签到</span>
                    <span th:if="${rollcall['signInNum']}==1">签到</span>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页，开始 -->
    <div data-th-replace="layout/adminPage"></div>
    <!-- 分页，结束 -->
</div>
</html>